package cc.mrbird.febs.system.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.system.domain.TShop;
import cc.mrbird.febs.system.vo.TShopVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author dtwei
 */
public interface ITShopService extends IService<TShop> {

    IPage<TShopVO> findShops(TShop tShop, String areaName, String peopleName, QueryRequest queryRequest);

    void createShop(TShopVO shop) throws Exception;

    void deleteShops(String[] ids) throws Exception;

    void updateShop(TShopVO shop) throws Exception;

    List<Map<String, Object>> importShops(List<Map<String, Object>> successList) throws Exception;

    void insertShopListWithNoCheck(List<TShopVO> shops) throws Exception;

    List<String> findAllShopNames();

    List<String> findAllShopCodes();
}
